package com.weijianhuawen.wjblog.admin.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-11-05 21:39
 */
@Getter
public class PublishArticleEvent extends ApplicationEvent {
    // 文章id
    private Long articleId;
    public PublishArticleEvent(Object source, Long articleId) {
        super(source);
        this.articleId = articleId;
    }
}
